﻿<script src="~/Scripts/jquery.hiMallDatagrid.js"></script>
<script src="~/Scripts/jqeury.himallLinkage.js"></script>
<script src="~/Scripts/jquery.placeholder.min.js"></script>
<script src="~/Scripts/bootstrap.autocomplete.js"></script>
<script src="~/Areas/Admin/Scripts/operationLogManagement.js"></script>
<link href="~/Content/bootstrap-datetimepicker.min.css" rel="stylesheet" />
<script type="text/javascript" src="~/Scripts/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="~/Scripts//bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript">
    $(function () {
        $(".start_datetime").datetimepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            autoclose: true,
            weekStart: 1,
            minView: 2
        });
        $(".end_datetime").datetimepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            autoclose: true,
            weekStart: 1,
            minView: 2
        });
        $(".start_datetime").click(function () {
            $('.end_datetime').datetimepicker('show');
        });
        $(".end_datetime").click(function () {
            $('.start_datetime').datetimepicker('show');
        });

        $('.start_datetime').on('changeDate', function () {
            if ($(".end_datetime").val()) {
                if ($(".start_datetime").val() > $(".end_datetime").val()) {
                    $('.end_datetime').val($(".start_datetime").val());
                }
            }
            $('.end_datetime').datetimepicker('setStartDate', $(".start_datetime").val());
        });
    });
</script>
<div class="container">
    <!--<ul class="nav nav-tabs-custom clearfix">
        <strong>操作日志</strong>
        <em class="primary-btn">
            <span class="glyphicon glyphicon-question-sign"></span>
            <div class="primary">
                <h3>温馨提示：</h3>
                <span>*</span><p>查看各个管理员的历史操作记录  </p>
            </div>
        </em>
    </ul>-->

    <div class="search-box only-line">
        <form class="custom-inline" role="form">
            <div class="form-group">
                <label class="label-inline" for="">操作人</label>
                <input class="form-control input-ssm" type="text" id="autoTextBox" autocomplete="off">
            </div>
            <div class="form-group">
                <label class="label-inline" for="">开始时间</label>
                <input class="form-control input-ssm start_datetime" type="text" id="inputStartDate" >
            </div>
            <div class="form-group">
                <label class="label-inline" for="">结束时间</label>
                <input class="form-control input-ssm end_datetime" type="text" id="inputEndDate" >
            </div>
            <button type="button" class="btn btn-primary btn-sm" id="searchBtn">搜索</button>
        </form>
    </div>

    <table class="table" id="list"></table>
</div>


